﻿using WeDonekRpc.Helper.Validate;

namespace Basic.FormRemoteModel.Form.Model
{
    public class FormQuery
    {
        [NumValidate("hr.company.id.error", 1)]
        public long CompanyId
        {
            get;
            set;
        }
        public string QueryKey
        {
            get;
            set;
        }

        /// <summary>
        /// 物理表组ID
        /// </summary>
        public long? PhyGroupId { get; set; }

        /// <summary>
        /// 表单分类
        /// </summary>
        public string FormClassify { get; set; }

        /// <summary>
        /// 表单类型
        /// </summary>
        public FormType[] FormType { get; set; }

        public FormStatus[] Status { get; set; }

        public bool? IsLock { get; set; }
    }
}
